package com.yt.app.provider.dao;

import com.yt.app.core.model.UserOrderDetail;
import com.yt.core.dao.GenericDao;

import java.util.List;

public interface UserOrderDetailDao extends GenericDao<UserOrderDetail, Long> {
    int decreaseLeftCount(Long userOrderDetailId);

    List<UserOrderDetail> getValidDetailListByUid(Long uid, Long lastId, Integer limit);
}
